package cn.edu.hunau.java.week01.day02;

import org.junit.Test;

import java.util.Scanner;

public class JunitTest {
    @Test  //@Test为单元测试的注解
    public void test01(){
        System.out.println("test01");
    }

    @Test
    public void testInt(){
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        System.out.println(a);
    }

    @Test
    public void testString(){
        Scanner sc=new Scanner(System.in);
        String i=sc.next();
        System.out.println(i);
    }
}
